package com.houor.device;

public interface DeviceConstants {

	public static final byte CONTROLLER_START_FLAG = (byte) 0xA5;// 控制器数据帧起始符
	public static final byte CONTROLLER_END_FLAG = 0x0D;// 控制器数据帧结束符

	public static final byte CONTROLLER_TYPE_AGRICULTURE = 0x01;// 智慧农业
	public static final byte CONTROLLER_TYPE_SPORTS = 0x02;// 体质测试

	public static final byte CONTROLLER_COMMAND_REPORT_SENSOR = 0x42;// 控制器采集数据上报

	public static final byte ARGICULTURE_SENSOR_AIR_TEMPERATURE = 0x11;// 大气温度
	public static final byte ARGICULTURE_SENSOR_AIR_HUMIDITY = 0x12;// 大气湿度
	public static final byte ARGICULTURE_SENSOR_AIR_PRESSURE = 0x13;// 大气压力
	public static final byte ARGICULTURE_SENSOR_AIR_O2 = 0x14;// 氧气
	public static final byte ARGICULTURE_SENSOR_AIR_CO2 = 0x15;// 二氧化碳
	public static final byte ARGICULTURE_SENSOR_AIR_PM25 = 0x16;// PM2.5

	public static final byte ARGICULTURE_SENSOR_WIND_SPEED = 0x21;// 风速
	public static final byte ARGICULTURE_SENSOR_WIND_DIRECTION = 0x22;// 风向

	public static final byte ARGICULTURE_SENSOR_SOIL_TEMPERATURE = 0x31;// 土壤温度
	public static final byte ARGICULTURE_SENSOR_SOIL_HUMIDITY = 0x32;// 土壤湿度
	public static final byte ARGICULTURE_SENSOR_SOIL_CONDUCTIVITY = 0x33;// 土壤电导率
	public static final byte ARGICULTURE_SENSOR_SOIL_PH = 0x34;// 土壤PH值
	public static final byte ARGICULTURE_SENSOR_SOIL_SALINITY = 0x35;// 土壤盐分

	public static final byte ARGICULTURE_SENSOR_ILLUMINANCE = 0x41;// 光照度

	public static final byte ARGICULTURE_SENSOR_RAIN = 0x51;// 雨量

}
